package com.fpd.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fpd.model.entity.ErrorFileExport;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * TODO
 *
 * @author jiangshuai
 * @version 1.0
 * @date 2020/11/29 13:10
 */
@Data
public class ExcelFileVerifyInfoVO {
    @ApiModelProperty(value = "文件名称")
    private String fileName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "上传时间")
    private Date uploadTime;

    @ApiModelProperty(value = "错误行数")
    private List<ErrorFileExport> errorRow;

    @ApiModelProperty(value = "进度条")
    private String progressBar ;

    @ApiModelProperty(value = "错误原因")
    private int errorCause;

    @ApiModelProperty(value = "校验结果")
    private String verifyResult;


    @ApiModelProperty(value = "导入excel表主键")
    private String ImportFileId;

    @ApiModelProperty(value = "上传的文件地址")
    private String filePath;
}
